package com.hutao.medical.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

//读取配置文件中以phr.config开头的信息
@Component
@ConfigurationProperties(prefix = "phr.config",locations="classpath:config.properties")
public class ConfigProperties {
	//sso配置properties
	private SsoProperties sso = new SsoProperties();
	
	//medical-manage配置properties
	private MedicalManageProperties medicalManage = new  MedicalManageProperties();

	//打印配置properties
	private ServerProperties server = new ServerProperties();
	
	public SsoProperties getSso() {
		return sso;
	}

	public void setSso(SsoProperties sso) {
		this.sso = sso;
	}

	public MedicalManageProperties getMedicalManage() {
		return medicalManage;
	}

	public void setMedicalManage(MedicalManageProperties medicalManage) {
		this.medicalManage = medicalManage;
	}

	public ServerProperties getServer() {
		return server;
	}

	public void setServer(ServerProperties server) {
		this.server = server;
	}


	
	
	
}
